<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2021\8\6 0006
 * Time: 13:31
 */
function test()
{
    function test_odd($var)
    {
        return($var & 1);
    }
    $input_info=array("a","b",2,3,4);
    $res=array_filter($input_info,"test_odd");
    var_dump($res);
}

test();



